package com.ruoyi.medical.domain;


import com.ruoyi.common.domain.doctor.Patient;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 药品处方管理对象 prescription_item
 * 
 * @author WGH
 * @date 2025-08-15
 */
public class PrescriptionItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 中间表ID */
    private Long id;

    /** 处方ID */
    @Excel(name = "处方ID")
    private Long prescriptionId;

    /** 药品ID */
    @Excel(name = "药品ID")
    private Long medicineId;

    /** 用法 */
    @Excel(name = "用法")
    private String uses;

    /** 用量 */
    @Excel(name = "用量")
    private String dose;

    /** 开药数量 */
    @Excel(name = "开药数量")
    private Long quantity;

    /** 删除状态 */
    private Integer del;

    /** 关联处方表 */
    private Prescription prescription;

    /** 关联药品表 */
    private Medicine medicine;

    /** 关联患者表 */
    private Patient patient;


}
